<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>数据类型</title>
	<script>
		
		str = "sfdsdf";//字符串
		str = "<p>学并思</p>";
		str = '学并思';
		str = 'a\'b\'c';
		// document.write(str);
		
		num = -89;//数字
		num = -25.36;
		bool = true;//布尔
		bool = false;
		a = null;//null
		var b;//Undefined
		// alert(b);
		// 
		num1 = '100px';
		num2 = '200px';

		// num = 234.343;

		Number();

		a = parseInt(num1);//200

		b = parseInt(num2);//100

		// document.write(a+b);
		// 
		
		age = prompt("你多大了");

		a = true;

		res = typeof(age);

		document.write(res);







	</script>
</head>
<body>
	
</body>
</html>